const Koa = require('koa')
const Router = require('koa-router')
const bodyParser = require('koa-bodyparser');

const stdRouter = require('./router/student')


var router = new Router();

var app = new Koa();

app.use(bodyParser())

router.use('/student', stdRouter.routes())

app.use(router.routes());

app.listen(3000, () => {
  console.log('locahost 3000...')
})